const finance = [{
  title: '财务中心',
  module: 'finance',
  icon: 'edu-icon-finance',
  meta: {
    permission: 'finance'
  },
  children: [{
    title: '订单',
    meta: {
      permission: 'finance.order'
    },
    children: [{
      title: '课程订单',
      path: '/finance/order/course',
      meta: {
        permission: 'finance.order.video'
      }
    // }, {
    //   title: '点播订单',
    //   path: '/finance/order/video',
    //   meta: {
    //     permission: 'finance.order.video'
    //   }
    // }, {
    //   title: '大班课订单',
    //   path: '/finance/order/live',
    //   meta: {
    //     permission: 'finance.order.live'
    //   }
    // }, {
    //   title: '小班课订单',
    //   path: '/finance/order/live/small',
    //   meta: {
    //     permission: 'finance.order.live.small'
    //   }
    // }, {
    //   title: '班级课订单',
    //   path: '/finance/order/classes',
    //   meta: {
    //     permission: 'finance.order.classes'
    //   }
    }, {
      title: '题库订单',
      path: '/finance/order/exam',
      meta: {
        permission: 'finance.order.examination'
      }
    // }, {
    //   title: '公开考试订单',
    //   path: '/finance/order/examination',
    //   meta: {
    //     permission: 'finance.order.examination'
    //   }
    // }, {
    //   title: '专项练习订单',
    //   path: '/finance/order/special',
    //   meta: {
    //     permission: 'finance.order.special'
    //   }
    // }, {
    //   title: '套卷练习订单',
    //   path: '/finance/order/rollup',
    //   meta: {
    //     permission: 'finance.order.rollup'
    //   }
    }, {
      title: '商城订单',
      path: '/finance/order/goods',
      meta: {
        permission: 'finance.order.goods'
      }
    }, {
      title: '充值订单',
      path: '/finance/order/balance',
      meta: {
        permission: 'finance.order.balance'
      }
    }]
  }, {
    title: '失败订单',
    meta: {
      permission: 'finance.order'
    },
    children: [{
      title: '列表',
      path: '/finance/order/fail',
      meta: {
        permission: 'finance.order.fail'
      }
    }]
  }, {
    title: '分成收入',
    meta: {
      permission: 'finance.split'
    },
    children: [{
      title: '分成明细',
      path: '/finance/split/list',
      meta: {
        permission: 'finance.split.list'
      }
    }, {
      title: '用户分成',
      path: '/finance/split/user',
      meta: {
        permission: 'finance.split.user'
      }
    }]
  }, {
    title: '提现',
    meta: {
      permission: 'finance.encashment'
    },
    children: [{
      title: '待审核',
      path: '/finance/encashment/wait',
      meta: {
        permission: 'finance.encashment.wait'
      }
    }, {
      title: '已通过',
      path: '/finance/encashment/done',
      meta: {
        permission: 'finance.encashment.done'
      }
    }, {
      title: '已驳回',
      path: '/finance/encashment/reject',
      meta: {
        permission: 'finance.encashment.reject'
      }
    }]
  }, {
    // title: '退款',
    // meta: {
    //   permission: 'finance.refund'
    // },
    // children: [{
    //   title: '待审核',
    //   path: '/finance/refund/wait',
    //   meta: {
    //     permission: 'finance.refund.wait'
    //   }
    // }, {
    //   title: '已通过',
    //   path: '/finance/refund/done',
    //   meta: {
    //     permission: 'finance.refund.done'
    //   }
    // }, {
    //   title: '已驳回',
    //   path: '/finance/refund/reject',
    //   meta: {
    //     permission: 'finance.refund.reject'
    //   }
    // }, {
    //     title: '退款配置',
    //     path: '/finance/refund/config',
    //     meta: {
    //       permission: 'finance.refund.config'
    //     }
    //   }]
    // }, {
    title: '充值',
    meta: {
      permission: 'finance.recharge'
    },
    children: [{
      title: '通用充值',
      path: '/finance/recharge/list',
      meta: {
        permission: 'finance.recharge.common.list'
      }
    }, {
      title: 'IOS内购',
      path: '/finance/recharge/ios/list',
      meta: {
        permission: 'finance.recharge.ios.list'
      }
    }, {
      title: '充值比例',
      path: '/finance/recharge/config',
      meta: {
        permission: 'finance.recharge.common.config'
      }
    }, {
      title: 'IOS配置',
      path: '/finance/recharge/ios/config',
      meta: {
        permission: 'finance.recharge.ios.config'
      }
    }, {
      title: '充值记录',
      path: '/finance/recharge/record',
      meta: {
        permission: 'finance.recharge.record'
      }
    }]
  }, {
    title: '积分配置',
    meta: {
      permission: 'finance.credit'
    },
    children: [{
      title: '获取积分配置',
      path: '/finance/credit/config',
      meta: {
        permission: 'finance.credit.config'
      }
      // }, {
      //   title: '充值积分比例',
      //   path: '/finance/credit/recharge',
      //   meta: {
      //     permission: 'finance.credit.recharge'
      //   }
    }, {
      title: '兑换比例',
      path: '/finance/credit/redeem',
      meta: {
        permission: 'finance.credit.redeem'
      }
    }, {
      title: '订单满抵',
      path: '/finance/credit/order',
      meta: {
        permission: 'finance.credit.order'
      }
    }, {
      title: '积分满用',
      path: '/finance/credit/threshold',
      meta: {
        permission: 'finance.credit.threshold'
      }
    }]
  }, {
    title: '机构充值与流水',
    meta: {
      permission: 'finance.schoolflow'
    },
    children: [{
      title: '充值记录',
      path: '/finance/schoolflow/recharge',
      meta: {
        permission: 'finance.schoolflow.recharge'
      }
    }, {
      title: '余额流水',
      path: '/finance/schoolflow/balance',
      meta: {
        permission: 'finance.schoolflow.balance'
      }
    }]
  }]
}]

export default finance
